cod_cmd_start

Syntax

forward cod_cmd_start(id, button, oldButton, flags, playerState);

Usage

id
Player index
button
Button that is being pressed right now in IN_* format
oldButton
Last pressed button in IN_* format
flags
Player flags in FL_* format
playerState
Player state used also for render, valid values:
RENDER_ALWAYS - always
RENDER_STAND - only if player is standing still
RENDER_MOVE - only if player is moving
RENDER_DUCK - only if player is ducking
RENDER_SHIFT - only if player is walking

Description

Multiforward called on player spawn.

Return

This forward ignores the returned value.